package com.zxz.task.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@AllArgsConstructor
@NoArgsConstructor
@Data
public class AccountRecharge implements Serializable {
    private static final long serialVersionUID = 3469843317366230785L;
    @ApiModelProperty(value = "充值记录主键id,非必填")
    private Long rechargeId;
    @ApiModelProperty(value = "账户主键id,必填")
    private Long accountId;
    @ApiModelProperty(value = "充值金额,必填")
    private Integer rechargeSum;
    @ApiModelProperty(value = "充值时间,非必填")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date rechargeTime;
    @ApiModelProperty(value = "支付方式,非必填")
    private String replay;
    @ApiModelProperty(value = "充值状态，非必填")
    private Integer rechargeStatus;
    @ApiModelProperty(value = "第三方-预支付,非必填")
    private String API;
    @ApiModelProperty(value = "充值自定义编码与第三方交互唯一编码,非必填")
    private String rechargeNo;
    @ApiModelProperty(value = "创建时间，非必填")
    private Date createTime;
    @ApiModelProperty(value = "更新时间，非必填")
    private Date updateTime;
    @ApiModelProperty(value = "取消时间，非必填")
    private Date cancelTime;
    @ApiModelProperty(value = "第三方-已支付,非必填")
    private String transactionId;
    @ApiModelProperty(value = "充值类型:1-账户余额 2-会员费用充值 3-租赁费")
    private Short rechargeType;
}